Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CONFIG GET and CONFIG SET documentation and tests #2919

Merged
merged 27 commits into from
Jan 10, 2025

Conversation

jonathanl-bq
Copy link
Collaborator

@jonathanl-bq jonathanl-bq commented Jan 7, 2025

Issue link

This Pull Request is linked to issue (URL): #2192

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • CHANGELOG.md and documentation files are updated.
  • Destination branch is correct - main or release
  • Create merge commit if merging release branch into main, squash otherwise.

jonathanl-bq and others added 3 commits January 6, 2025 16:44
Signed-off-by: Jonathan Louie <[email protected]>
Signed-off-by: Jonathan Louie <[email protected]>
Signed-off-by: Jonathan Louie <[email protected]>
Signed-off-by: Jonathan Louie <[email protected]>
Signed-off-by: Jonathan Louie <[email protected]>
node/tests/.GlideClusterClient.test.ts.swp Outdated Show resolved Hide resolved
node/tests/SharedTests.ts Outdated Show resolved Hide resolved
async (protocol) => {
await runTest(async (client: BaseClient, cluster) => {
if (cluster.checkIfServerVersionLessThan("7.0.0")) {
return;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: You can check that server returns an error on version < 7

@Yury-Fridlyand Yury-Fridlyand added the docs Documentation label Jan 8, 2025
Copy link
Collaborator

@tjzhang-BQ tjzhang-BQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with comments resolved

Copy link
Collaborator

@yipin-chen yipin-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Jonathan Louie <[email protected]>
@jonathanl-bq jonathanl-bq merged commit 52b51dc into main Jan 10, 2025
36 of 39 checks passed
prateek-kumar-improving pushed a commit that referenced this pull request Jan 10, 2025
* Update documentation for CONFIG GET and CONFIG SET commands for Java client

Signed-off-by: Jonathan Louie <[email protected]>

* Update documentation for BaseTransaction CONFIG GET and CONFIG SET

Signed-off-by: Jonathan Louie <[email protected]>

* Add transaction test for CONFIG SET and CONFIG GET with multiple parameters

Signed-off-by: Jonathan Louie <[email protected]>

* Update Python client CONFIG SET and CONFIG GET docs and tests

Signed-off-by: Jonathan Louie <[email protected]>

* Update Python transaction CONFIG GET and CONFIG SET docs

Signed-off-by: Jonathan Louie <[email protected]>

* Update Node client docs and tests for CONFIG SET and CONFIG GET

Signed-off-by: Jonathan Louie <[email protected]>

* Update CHANGELOG

Signed-off-by: Jonathan Louie <[email protected]>

* Fix linter issue

Signed-off-by: Jonathan Louie <[email protected]>

* Fix Prettier issues

Signed-off-by: Jonathan Louie <[email protected]>

* Apply Spotless

Signed-off-by: Jonathan Louie <[email protected]>

* Add missing cluster argument for Node SharedTests

Signed-off-by: Jonathan Louie <[email protected]>

* Try changing cluster-node-timeout instead of logfile to avoid immutable config error

Signed-off-by: Jonathan Louie <[email protected]>

* Fix test failures for Node client

Signed-off-by: Jonathan Louie <[email protected]>

* Fix linting errors

Signed-off-by: Jonathan Louie <[email protected]>

* Sort expected result for CONFIG GET and CONFIG SET transaction test

Signed-off-by: Jonathan Louie <[email protected]>

* Assign sorted array to new variable

Signed-off-by: Jonathan Louie <[email protected]>

* Apply Black linter

Signed-off-by: Jonathan Louie <[email protected]>

* Update Python tests to avoid immutable config error

Signed-off-by: Jonathan Louie <[email protected]>

* Apply Black linter

Signed-off-by: Jonathan Louie <[email protected]>

* Fix typo

Signed-off-by: Jonathan Louie <[email protected]>

* Fix typo in Python tests

Signed-off-by: Jonathan Louie <[email protected]>

* Run Black linter

Signed-off-by: Jonathan Louie <[email protected]>

* Fix failing Node test

Signed-off-by: Jonathan Louie <[email protected]>

* Remove swap file

Signed-off-by: Jonathan Louie <[email protected]>

* Combine CONFIG GET and CONFIG SET tests in SharedTests.ts

Signed-off-by: Jonathan Louie <[email protected]>

* Fix build error

Signed-off-by: Jonathan Louie <[email protected]>

---------

Signed-off-by: Jonathan Louie <[email protected]>
Signed-off-by: jonathanl-bq <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants